package gwt.immunology.client.place;

import gwt.immunology.shared.ResultSetDto;

import com.google.gwt.place.shared.Place;

public class AllPatientsPlace extends Place {
	private ResultSetDto patientsSearchResult;
	private Long patientsCount;
	
	public AllPatientsPlace() {
	}
	
	public AllPatientsPlace(ResultSetDto patients, Long patientsCount) {
		this.patientsSearchResult = patients;
		this.patientsCount = patientsCount;
	}
	
	public ResultSetDto getSearchResultList() {
		return this.patientsSearchResult == null ? null : this.patientsSearchResult;
	}
	
	public Long getPatientsCount() {
		return this.patientsCount;
	}
	
}
